package com.bdqn.demo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bdqn.demo.pojo.Role;

import java.util.List;

/**
 * 角色表(Role)表服务接口
 *
 * @author makejava
 * @since 2024-01-16 19:08:22
 */
public interface RoleService extends IService<Role> {

    boolean allocate(Integer uid, Integer roleId);

    List<Role> findAll();

    IPage<Role> getPage(Integer pageNo, Integer pageSize, String name);
}

